//
//  MusicDetailModel.m
//  OurRelaxDemo
//
//  Created by 王雅蓉 on 15/6/25.
//  Copyright (c) 2015年 于宾尧. All rights reserved.
//

#import "MusicDetailModel.h"

@implementation MusicDetailModel

-(instancetype)initWithDic:(NSMutableDictionary *)dic
{
    if (self = [super init]) {
        
        [self setValuesForKeysWithDictionary:dic];
        
    }
    return self;
}

+(id)musicDetailWithDic:(NSMutableDictionary *)dic
{
    return [[self alloc] initWithDic:dic];
}

+(MusicDetailModel *)musicDetailWithArray:(NSMutableArray *)array
{
    NSMutableDictionary *dic = [array firstObject];
    
    MusicDetailModel *musicDetail = [MusicDetailModel musicDetailWithDic:dic];
    
    return musicDetail;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

@end
